package com.patMall.service;

import com.patMall.entity.AnswerProblem;

import java.util.List;

/**
 * @Author 750909637@qq.com
 * @PackageName patMall
 * @Package com.patMall.service
 * @Date 2024/1/19 12:40
 * @Version 1.0
 */
public interface AnswerProblemService {
    int addAnswerProblem(AnswerProblem answerProblem);
    int updateAnswerProblem(AnswerProblem answer);
    List<AnswerProblem> selectAnswerProblemByCommodityId(Integer commodityId);
    List<AnswerProblem> selectAnswerProblemByAnswerProblemId(Integer answerProblemId);
    List<AnswerProblem> selectAllAnswerProblem();
    List<AnswerProblem> getAllByAnswerProblemContent(String content);
}
